package org.myproject.persistence.event.copy;

import java.io.Serializable;

import org.hibernate.persister.entity.EntityPersister;

public class PreInsertEvent extends PersistenceEvent
{
    private static final long serialVersionUID = 1L;

    private final Object[] state;

    public PreInsertEvent(Object source, Object entity, Serializable id, EntityPersister persister,
            Object[] state)
    {
        super(source, entity, id, persister);
        this.state = state;
    }

    public Object[] getState()
    {
        return state;
    }

}
